<?php
include('includes/header.php');
$titulo = 'Editar Configuraciones Globales';
include('menu.php');
$key_value = GetSql("SELECT * FROM key_value");
?>
<body>
    <div class="editarBody">
        <form accept-charset="utf-8" action="modificarKeyValue.php" method="post">
            <table id="keyValues">
                <thead>
                    <tr>
                        <td></td>
                        <td></td>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>Titulo Biopsia</td>
                        <td><input type="text" name="tBiopsia" value="<?php echo $key_value[0]['_value']; ?>"/></td>
                    </tr>
                    <tr>
                        <td>Subtitulo Biopsia</td>
                        <td><input type="text" name="stBiopsia" value="<?php echo $key_value[1]['_value']; ?>"/></td>
                    </tr>
                    <tr>
                        <td>Titulo PAP</td>
                        <td><input type="text" name="tPap" value="<?php echo $key_value[2]['_value']; ?>"/></td>
                    </tr>
                    <tr>
                        <td>Subtitulo PAP</td>
                        <td><input type="text" name="stPap" value="<?php echo $key_value[3]['_value']; ?>"/></td>
                    </tr>
                    <tr>
                        <td>Doctor</td>
                        <td><input type="text" name="doctor" value="<?php echo $key_value[4]['_value']; ?>"/></td>
                    </tr>
                    <tr>
                        <td>Matricula 1</td>
                        <td><input type="text" name="mat1" value="<?php echo $key_value[5]['_value']; ?>"/></td>
                    </tr>
                    <tr>
                        <td>Matricula 2</td>
                        <td><input type="text" name="mat2" value="<?php echo $key_value[6]['_value']; ?>"/></td>
                    </tr>
                    <tr>
                        <td>Asunto email</td>
                        <td><input type="text" name="asunto" value="<?php echo $key_value[7]['_value']; ?>"/></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><input type="submit" name ="Modificar" value="Modificar"/></td>
                    </tr>
                </tbody>
            </table>
        </form>
    </div>
</body>
